<template>
  <div>
      <p v-text="str">{{10+20}}</p>
      <p v-html="str"></p>
  </div>
</template>

<script>
export default {
    data () {
        return {
            str:'<span>我是一个span标签</span>'
        }
    }
}
</script>

<style>

</style>